var mongoose = require("./mongoose")
mongoose.set('useFindAndModify', false);

var users_Schema = mongoose.Schema({
    UUID: String,
    realName: String,
    sex: String,
    school: String,
    stuNo: String,
    email: String,
    username: String,
    password: String,
    userGroup: String,
    flags: Array,
    process: Array,
    email: String,
    wordViewFlag: Boolean,
    avatar: String,
    time: Number        // 注册时间
});

var users = mongoose.model('education_users', users_Schema);

module.exports = users 